package com.designpatterns.singletonpattern.notlazynotsync;

// 饿汉式：类加载时就初始化，浪费内存
public class Singleton
{
	private static Singleton instance = new Singleton();

	private Singleton()
	{
	}

	public static Singleton getInstance()
	{
		return instance;
	}
}
